package com.qf.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "分页条件查询实体类")
public class DtoParameter<T>{
    @ApiModelProperty("当前页")
    private String page;
    @ApiModelProperty("每页的数据数量")
    private String size;
    @ApiModelProperty("条件查询查询实体类")
    private T where;

    @ApiModelProperty("查询集合实体类")
    private List<T> list;

    @ApiModelProperty("查询总数量")
    private String total;
}
